home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 December / PCWorld_2006-12_cd.bin / zabezpeceni / outpost / OutpostProInstall.exe / {app} / Help / ofp_de.chm / agnitum.js < prev    next >
Text File  |  2006-10-03  |  851b  |  30 lines

  1. var PRODUCT="Outpost Firewall Pro"
  2. var COMPANY="Agnitum"
  3.  
  4. function setSrc(e,url){e.src = url;}
  5. function goTo(url){document.location = url;}
  6.  
  7. function exon(e) {
  8. e.style.color = "#0000ff";
  9. if(e.children(0).src.indexOf("_plus") != -1) setSrc(e.children(0), "Images/_plusHot.gif");
  10. else setSrc(e.children(0), "Images/_minusHot.gif");
  11. }
  12.  
  13. function exof(e) {
  14. e.style.color = "#000000";
  15. if(e.children(0).src.indexOf("_plus") != -1) setSrc(e.children(0), "Images/_plusCold.gif");
  16. else setSrc(e.children(0), "Images/_minusCold.gif");
  17. }
  18.  
  19. function exdo(e) {
  20. var d = window.document.all[e.sourceIndex + e.children.length + 1];
  21. if(d.style.display == "none"){
  22.    setSrc(e.children(0), "Images/_minusHot.gif");
  23.    d.style.display = "block";
  24.    }
  25. else {
  26.    setSrc(e.children(0), "Images/_plusHot.gif");
  27.    d.style.display = "none";
  28.    }
  29. }
  30.